<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>客户列表</title>
</head>
<body>
	<h2>客户列表</h2>
	<table class="ch-datagrid">
		<thead>
			<tr>
				<th scope="row" width="5%">序号</th>
				<th width="20%">用户名</th>
				<th width="20%">操作</th>
			</tr>
		</thead>
		<tbody>
			<s:iterator value="userList" status="st">
				<tr <s:if test="#st.isEven()">style="BACKGROUND: #f8f8f8"</s:if>>
					<td><s:property value="%{#st.count}" />
					</td>
					<td><s:property value="userName" />
					</td>
					<td><button class="ch-btn ch-btn-small"
							onclick="selectUser('<s:property value="userId" />','<s:property value="userName" />')">选择</button>
					</td>
				</tr>
			</s:iterator>
		</tbody>
	</table>
</body>
</html>